sdgraphobjectpin module¶
-
class
sd.api.sdgraphobjectpin.SDGraphObjectPin(APIContext, handle, *args, **kwargs)¶ Bases:
sd.api.sdgraphobject.SDGraphObjectClass managing a Pin object in the graph
-
getClassName() → str¶ Returns the most specific name of the class this APIObject is
-
getDescription() → str¶ Get the SDGraphObject description
-
getPosition() → sd.api.sdbasetypes.float2¶ Get the SDGraphObject position
-
release() → None¶ Releases an APIObject
-
static
sNew(sdGraph: sd.api.sdgraph.SDGraph) → sd.api.sdgraphobjectpin.SDGraphObjectPin¶ Create a new SDGraphObjectPin instance in the specified graph
- Parameters
sdGraph – The SDGraph that should contains the new SDGraphObjectPin
-
setDescription(value: str) → None¶ Set the SDGraphObject description
- Parameters
value – The new description
-
setPosition(position: sd.api.sdbasetypes.float2) → None¶ Set the SDGraphObject position
- Parameters
position – The new position in the graph
-